package simorg.domain;

public abstract class Test {
	
	protected int id;
	private TestType type;
	protected String name;	
	protected int minutes;
	protected String description;
	protected int order;
	protected double weight;
	protected String weightingComment;
	
	Test(TestType type) {
		this.type = type;
		this.id = -1;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getMinutes() {
		return minutes;
	}

	public void setMinutes(int minutes) {
		this.minutes = minutes;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public String getWeightingComment() {
		return weightingComment;
	}

	public void setWeightingComment(String weightingComment) {
		this.weightingComment = weightingComment;
	}

	public TestType getType() {
		return type;
	}
}
